Labels:text | screenshot | font | line | parallel | diagram OCR: WM_COMMAND (such as ID_FILE_CLOSE) or WM_NOTIFY from CWnd :: WindowProc CWnd :: OnCommand return TRUE It control notification OnChlidNotify not enabled If fren comand is it siabledans OnCmdMsg(CN_UPDATE_CMD_UI) OnCmUNEGICK CONMARD):" CYourWnd :: OnFileClose CCmdTargot :: OnCmdMsg Implement close command if entry ti message maps Dispatched sg Done Figure 6 WM_COMMAND and WM_NOTIFY Message Flow